package cn.mldn.homework.annotationCreateCRUD;

public class Client
{
	public static void main(String[] args) throws Exception
	{
		ProductBean productBean = new ProductBean();
		productBean.setId(007);
		productBean.setName("milk");
		productBean.setPrice(4);

		BaseDao productDao = new BaseDao();
		productDao.add(productBean);
		productDao.delete(productBean);
		productDao.update(productBean);
		productDao.selete(productBean);
	}
}
